<?php
/**
 * User: yyw
 * Date: 2017/6/26
 * Time: 17:12
 * Progress:0%
 */

namespace model;
use think\Model;

class ShopOrderGoods extends Model
{
    public function shopGoods(){
        return $this->belongsTo("ShopGoods","goods_id")->field("id,name,cover_image,flag_putaway,flag_delete,price");
    }

}